package com.chw.common.diy;

import com.chw.common.exception.NameException;

public enum ExceptionData {
    PARAMEXCEPTION(4000,"未获取到参数"),
    SERVEREXCEPTION(500,"服务内部处理异常"),
   NAMEEXCEPTION(10000,"用户名不存在");



    private Integer CODE;
    private String MSG;

    ExceptionData(Integer CODE, String MSG) {
        this.CODE = CODE;
        this.MSG = MSG;
    }

    public Integer getCODE() {
        return CODE;
    }

    public void setCODE(Integer CODE) {
        this.CODE = CODE;
    }

    public String getMSG() {
        return MSG;
    }

    public void setMSG(String MSG) {
        this.MSG = MSG;
    }
}
